﻿
<%@ Page Title="PatientList" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PatientList.aspx.cs" Inherits="WebApplication2.PatientList"  EnableEventValidation = "false"%>


<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
      <style type="text/css">
        #content1-1 {
            float:left;
            width: 30%;
            padding : 10px;
            margin-right: 0px;
            margin-left : 20px;
        }
        #content2 {
            float: right;
            width: 60%;
            padding : 10px;
            margin-left: 0px;
        }
       
        
        .hideGridColumn
    {
        display:none;
    }
         table, tr, td

        {

            border:1px solid #C0C0C0;

        }
         .center
        {
  
       
        }
    </style>
    <div id="Header" class ="center" >
      <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Font-Names="Calibri" ></asp:Label>
        <br />
      <br />
  </div>

    
     
<div id="content2">
    <div id="label1">
    <asp:Label ID="lblTreatmentList" runat="server"></asp:Label>
        &nbsp;-
        <asp:Label ID="lblName" runat="server"></asp:Label>
        <br />
    </div>
    <div  style="overflow-y:scroll; height: 493px ; width: auto; margin-right: 0px;" > 
        <asp:GridView AutoGenerateColumns="False" runat="server" ID="GridView2" BackColor="White" BorderColor="#999999" BorderWidth="1px" CellPadding="3" GridLines="Vertical" onrowdatabound="GridView2_RowDataBound" ForeColor="White" BorderStyle="None" Font-Names="Calibri" Font-Size="Small"  OnSelectedIndexChanged="GridView2_SelectedIndexChanged">
            <AlternatingRowStyle BackColor="#DCDCDC" />
            <Columns>
                <asp:BoundField DataField="TreatmentDate1" />
                <asp:BoundField DataField="ArrivalTime2"  />
                <asp:BoundField DataField="RunNumber"  />
                <asp:BoundField DataField="Duration" />
                <asp:BoundField DataField="PreWeight" />
                <asp:BoundField DataField="PostWeight"  />
                <asp:BoundField DataField="Net_UF"  />
                <asp:BoundField DataField="Complication" />
                <asp:BoundField DataField="Location" />
                <asp:BoundField DataField="Sign_OFF" />
                 <asp:BoundField DataField="HDTreatmentID" HeaderStyle-CssClass = "hideGridColumn" ItemStyle-CssClass="hideGridColumn"/>
                <asp:BoundField DataField="PatientID" HeaderStyle-CssClass = "hideGridColumn" ItemStyle-CssClass="hideGridColumn"/>
                <asp:BoundField DataField="ArrivalTime" />
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White"  HorizontalAlign="Center" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black"  HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#008A8C" ForeColor="White" Font-Bold="True" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
</div>
     </div>
   
    

<div id="content1-1">

      <div id="label2">
    <asp:Label ID="lblPatients" runat="server"></asp:Label>
        &nbsp;-
          <asp:Label ID="lblStataus" runat="server"></asp:Label>
        <br />
</div>
    <div  style="overflow-y:scroll; height: 493px ; width: auto; margin-right: 0px;" > 

        

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

        

        <asp:GridView AutoGenerateColumns="False"  runat="server" ID="GridView1" ShowHeader="False" BackColor="White" BorderColor="#999999" BorderWidth="1px" CellPadding="3"  onrowdatabound="GridView1_RowDataBound" ForeColor="Black"  OnSelectedIndexChanged="GridView1_SelectedIndexChanged" DataKeyNames="PatientID" BorderStyle="None" Font-Bold="False" Font-Names="Calibri" Font-Size="Small" GridLines="Vertical" ToolTip="Click to Select" Height="133px" >
             <AlternatingRowStyle BackColor="#DCDCDC" />
       <Columns>
           <asp:BoundField DataField="Patient_Name" />
           <asp:BoundField DataField="MRN"  />
           <asp:BoundField DataField="PrimaryID"  />
           <asp:BoundField DataField="Sex"  />
           <asp:BoundField DataField="patient_status" HeaderStyle-CssClass = "hideGridColumn" ItemStyle-CssClass="hideGridColumn" >
            <HeaderStyle CssClass="hideGridColumn"></HeaderStyle>
            <ItemStyle CssClass="hideGridColumn"></ItemStyle>
           </asp:BoundField>

          <asp:CommandField SelectText="Select" ShowSelectButton="true" Visible="false" />
       </Columns>
             <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
             <HeaderStyle BackColor="#000084" Font-Bold="True"  BorderColor="#C0C0C0" ForeColor="White"  />
             <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
             <RowStyle BackColor="#EEEEEE" ForeColor="Black" HorizontalAlign="left" />
             <SelectedRowStyle BackColor="#008A8C" ForeColor="White" Font-Bold="True" />
             <SortedAscendingCellStyle BackColor="#F1F1F1" />
             <SortedAscendingHeaderStyle BackColor="#0000A9" />
             <SortedDescendingCellStyle BackColor="#CAC9C9" />
             <SortedDescendingHeaderStyle BackColor="#000065" />

           
        </asp:GridView>
      
</div>
   </div>
   
      
       
     
    </asp:Content>
 
   
